using CSPimNavigator.NET;

namespace Shatkotha.Nokia
{
    public class NokiaPhoneHelper
    {
        public NokiaPhoneHelper()
        {
            Navigator = new PIMNavigator();
        }

        private PIMNavigator Navigator { get; set; }
        public bool SendSms(string[] numbers, string messageText)
        {
            if (Navigator.InitSmsProcess())
            {
                foreach (var number in numbers)
                {
                    if(Navigator.SendSms(number, messageText)==false)
                    {
                        break;
                    }
                }
            }
            return false;
        }
    }
}